/* pages/HomePage/HomePage.wxss */
$color:#00b26a;
.search{
  background-color: $color;
  padding: 20rpx 30rpx;
  position: relative;
  >input{
    background-color: white;
    border-radius: 18rpx;
    padding: 14rpx 20rpx;
  }
  .placeholder{
    position: absolute;
    top: 0rpx;
    left: 0rpx;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
  }
}

.type-list{
  background-color: white;
  color: #666666;
  margin-bottom: 16rpx;
  font-size: 30rpx;
  .title{
    padding: 18rpx 24rpx;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    font-weight: bold;
    border-bottom: 2rpx solid #efefef;
    .iconfont{
      font-weight: normal;
    }
    >.navigator{
      color: $color;
      font-size: 28rpx;
      .icon-film{
        color: $color;
        margin-right: 8rpx;
        font-weight: bold;
      }
    }
    >.more,.icon-right{
      font-size: 22rpx;
      line-height: 34rpx;
      font-weight: normal;
    }
  }
  .list{
    box-sizing: border-box;
    padding: 20rpx;
    display: flex;
    flex-flow: row nowrap;
    overflow-x: scroll;
    height: 412rpx;
    align-items: center;
  }
}

.film-item{
  &.item{
    padding-right: 20rpx;
    >image {
      width: 180rpx;
      height: 280rpx;
      border-radius: 12rpx;
    }
    .name {
      font-size: 24rpx;
      width: 180rpx;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      padding: 8rpx 0rpx;
    }
    .star {
      width: 180rpx;
      overflow: hidden;
      font-size: 24rpx;
      .iconfont {
        font-size: 20rpx;
        vertical-align: middle;
      }
      .icon-star {
        padding-right: 4rpx;
      }
      .star-color {
        color: goldenrod;
      }
      .source {
        padding-left: 12rpx;
        vertical-align: middle;
      }
    }
  }
}